package com.ooolong.expression;

public class OClosedPathSymbol extends OObject {

	private char symbol;

	public OClosedPathSymbol(char symbol) {
		super();
		this.obj = symbol;
		this.symbol = symbol;
		if (this.symbol == '(') {
			this.type = OObject.LEFT_PARENTHESIS;
			this.name = "left-parentesis";
		} else if (this.symbol == ')') {
			this.type = OObject.RIGHT_PARENTHESIS;
			this.name = "right-parentesis";
		}
	}

	@Override
	public OObject execute(OObject[] args) throws ExpressionException {
		return null;
	}

}
